//
//  ViewController.h
//  ColumnWidget
//
//  Created by -_Asuna on 16/8/7.
//  Copyright © 2016年 David. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol ColumnWidgetDelegate;

@interface ColumnWidget : UIViewController
{
    NSMutableArray *_items;
    UIScrollView *_scrollView;
    UIButton *_lastButton;
    UIFont *_normalFont;
    UIFont *_selectedFont;
}
@property (strong,nonatomic) id<ColumnWidgetDelegate> delegate;
@property (strong,nonatomic) UIColor *tintColor;
@property (strong,nonatomic) UIColor *selectedColor;
@property (strong,nonatomic) UIColor *backgroundColor;
@property (nonatomic) NSUInteger itemCounts;
@property (strong,nonatomic) NSArray *titleArray;
@property (strong,nonatomic) UIColor *luwenwenhehehe;
//父控制器用来设置滑动到某个栏目项的接口
-(void)setLocationWithIndex:(NSUInteger)index;
-(void)fontAnimateFromIndex:(NSInteger)sourceIndex toIndex:(NSInteger)destIndex scale:(CGFloat)scale;
//

@end

@protocol ColumnWidgetDelegate
-(void)isShowingIndex:(NSUInteger) index;
@end









